// 签名
import _bale from '../utils/package.js'
// 获取不同的接口地址
import { USER_API, SHARE_API, INDEXS_API } from '../config/index.js'
import { Service } from '../utils/server.js'
class ManagerModel extends Service {
  // 获取佣金总数据
  getManager(params) {
    return this.postRequest(SHARE_API + '/manager/queryManagerList', {
      data: _bale('token', params)
    })
  }
  // 查询fans数据
  getFansInfo(params) {
    return this.postRequest(INDEXS_API + '/fans/queryFansList', {
      data: _bale('token', params)
    })
  }

  // 获取绩效总数据
  queryAllCentert(params) {
    return this.postRequest(USER_API + '/member/queryAllCentert', {
      data: _bale('token', params)
    })
  }
}

export { ManagerModel }
